com.azure.resourcemanager.compute.models.GalleryProvisioningState 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;
/**
* The current state of the gallery or gallery artifact.
*
* The provisioning state, which only appears in the response.
*/
public final class GalleryProvisioningState extends ExpandableStringEnum {
/**
* Static value Creating for GalleryProvisioningState.
*/
public static final GalleryProvisioningState CREATING = fromString("Creating");
/**
* Static value Updating for GalleryProvisioningState.
*/
public static final GalleryProvisioningState UPDATING = fromString("Updating");
/**
* Static value Failed for GalleryProvisioningState.
*/
public static final GalleryProvisioningState FAILED = fromString("Failed");
/**
* Static value Succeeded for GalleryProvisioningState.
*/
public static final GalleryProvisioningState SUCCEEDED = fromString("Succeeded");
/**
* Static value Deleting for GalleryProvisioningState.
*/
public static final GalleryProvisioningState DELETING = fromString("Deleting");
/**
* Static value Migrating for GalleryProvisioningState.
*/
public static final GalleryProvisioningState MIGRATING = fromString("Migrating");
/**
* Creates a new instance of GalleryProvisioningState value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public GalleryProvisioningState() {
}
/**
* Creates or finds a GalleryProvisioningState from its string representation.
*
* @param name a name to look for.
* @return the corresponding GalleryProvisioningState.
*/
public static GalleryProvisioningState fromString(String name) {
return fromString(name, GalleryProvisioningState.class);
}
/**
* Gets known GalleryProvisioningState values.
*
* @return known GalleryProvisioningState values.
*/
public static Collection values() {
return values(GalleryProvisioningState.class);
}
}