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 VMGuestPatchRebootStatus.
/**
* Defines values for VMGuestPatchRebootStatus.
*/
public final class VMGuestPatchRebootStatus extends ExpandableStringEnum<VMGuestPatchRebootStatus> {
Static value Unknown for VMGuestPatchRebootStatus. /** Static value Unknown for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus UNKNOWN = fromString("Unknown");
Static value NotNeeded for VMGuestPatchRebootStatus. /** Static value NotNeeded for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus NOT_NEEDED = fromString("NotNeeded");
Static value Required for VMGuestPatchRebootStatus. /** Static value Required for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus REQUIRED = fromString("Required");
Static value Started for VMGuestPatchRebootStatus. /** Static value Started for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus STARTED = fromString("Started");
Static value Failed for VMGuestPatchRebootStatus. /** Static value Failed for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus FAILED = fromString("Failed");
Static value Completed for VMGuestPatchRebootStatus. /** Static value Completed for VMGuestPatchRebootStatus. */
public static final VMGuestPatchRebootStatus COMPLETED = fromString("Completed");
Creates or finds a VMGuestPatchRebootStatus from its string representation.
Params: - name – a name to look for
Returns: the corresponding VMGuestPatchRebootStatus
/**
* Creates or finds a VMGuestPatchRebootStatus from its string representation.
* @param name a name to look for
* @return the corresponding VMGuestPatchRebootStatus
*/
@JsonCreator
public static VMGuestPatchRebootStatus fromString(String name) {
return fromString(name, VMGuestPatchRebootStatus.class);
}
Returns: known VMGuestPatchRebootStatus values
/**
* @return known VMGuestPatchRebootStatus values
*/
public static Collection<VMGuestPatchRebootStatus> values() {
return values(VMGuestPatchRebootStatus.class);
}
}