Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the MIT License. See License.txt in the project root for
license information.
Code generated by Microsoft (R) AutoRest Code Generator.
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.management.compute;
import java.util.Collection;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.microsoft.rest.ExpandableStringEnum;
Defines values for PatchInstallationState.
/**
* Defines values for PatchInstallationState.
*/
public final class PatchInstallationState extends ExpandableStringEnum<PatchInstallationState> {
Static value Unknown for PatchInstallationState. /** Static value Unknown for PatchInstallationState. */
public static final PatchInstallationState UNKNOWN = fromString("Unknown");
Static value Installed for PatchInstallationState. /** Static value Installed for PatchInstallationState. */
public static final PatchInstallationState INSTALLED = fromString("Installed");
Static value Failed for PatchInstallationState. /** Static value Failed for PatchInstallationState. */
public static final PatchInstallationState FAILED = fromString("Failed");
Static value Excluded for PatchInstallationState. /** Static value Excluded for PatchInstallationState. */
public static final PatchInstallationState EXCLUDED = fromString("Excluded");
Static value NotSelected for PatchInstallationState. /** Static value NotSelected for PatchInstallationState. */
public static final PatchInstallationState NOT_SELECTED = fromString("NotSelected");
Static value Pending for PatchInstallationState. /** Static value Pending for PatchInstallationState. */
public static final PatchInstallationState PENDING = fromString("Pending");
Creates or finds a PatchInstallationState from its string representation.
Params: - name – a name to look for
Returns: the corresponding PatchInstallationState
/**
* Creates or finds a PatchInstallationState from its string representation.
* @param name a name to look for
* @return the corresponding PatchInstallationState
*/
@JsonCreator
public static PatchInstallationState fromString(String name) {
return fromString(name, PatchInstallationState.class);
}
Returns: known PatchInstallationState values
/**
* @return known PatchInstallationState values
*/
public static Collection<PatchInstallationState> values() {
return values(PatchInstallationState.class);
}
}